package com.dongdongshop.service;

import com.dongdongshop.page.PageResult;
import com.dongdongshop.pojo.TbBrand;

import java.util.List;

public interface TbBrandService {
    PageResult listBrands(Integer pageNum, Integer pageSize);

    void addBrand(TbBrand brand);

    TbBrand selectBrandById(Integer id);

    void updateBrandById(TbBrand brand);

    void deleteBrand(Integer id);

    void deleteBrands(Long[] id);

    List<TbBrand> listBrandsAll();
}
